import Vue from 'vue'
import Router from 'vue-router'
import HelloWorld from '@/components/HelloWorld'
import index1 from '../components/index1.vue'
import index2 from '../components/index2.vue'
import index3 from '../components/index3.vue'
import index4 from '../components/index4.vue'
import index5 from '../components/index5.vue'
import index6 from '../components/index6.vue'
import index7 from '../components/index7.vue'
Vue.use(Router)

export default new Router({
  routes: [
    // {
    //   path: '/',
    //   name: 'HelloWorld',
    //   component: HelloWorld
    // },
    {
      path: '/',
      name: 'index1',
      component: index1
    },
    {
      path: '/index2',
      name: 'index2',
      component: index2
    },
    {
      path: '/index3',
      name: 'index3',
      component: index3
    },
    {
      path: '/index4',
      name: 'index4',
      component: index4
    },
    {
      path: '/index5',
      name: 'index5',
      component: index5
    },
    {
      path: '/index6',
      name: 'index6',
      component: index6
    },
    {
      path: '/index7',
      name: 'index7',
      component: index7
    }
  ]
})
